package com.liang.design;

/**
 * @author lsm
 * @ClassName Singleton_03.java
 * @Description 饿汉模式(线程安全)
 * @createTime 2023年12月01日 10:36:00
 */
public class Singleton_03 {

    private static Singleton_03 instance = new Singleton_03();

    private Singleton_03(){};

    public static Singleton_03 getInstance(){
        return instance;
    }
}
